Repository navigation
Carry contributor work from forks: deLiseLINO (AVF x3), dwaris (camera x4) - #382
Merged
Merged
Conversation
On the Pixel 7 (pKVM) XNU hung right after "avfboot: jumping to XNU", half the boots at first and every boot later the same day. The kernel's first FP instruction (cpu_data_init, from arm_init, right after loader checkpoint 10) took an "FP/SIMD access trapped" exception (ESR 0x1fe00000, ELR cpu_data_init) although start.s had set CPACR_EL1.FPEN and CPACR_EL1 read 0x300000 in the vector. With no thread pointer yet, sleh_synchronous faulted on current_percpu_base (FAR 0x1c0) and kept recursing until the exception stack ran into the interrupt stack: the boot vCPU spun at 100% with nothing on the console. Setting CPACR_EL1.FPEN in avfboot, on the core that enters the kernel (avfboot_hop after PSCI CPU_ON, or this one), before the jump avoids it: the same CI kernel and payload went from 10/10 hangs to every boot reaching the home screen. (cherry picked from commit 5bfc5eb)
eagl.c hands every CoreAnimation shader on as #version 300 es and moved its #extension lines to the top unchanged. GL_OES_standard_derivatives (CoreAnimation's rounded-corner masks use fwidth()) is not a GLSL ES 3.00 extension; the Mali-G710 compiler on the Pixel 7 rejects it (P0003 "Extension 'GL_OES_standard_derivatives' not supported"), the program does not link and its draws are left out: Control Center and other masked layers drawn black or missing. Such lines are now dropped and the ES 1.00 names those extensions add are defined to their 3.00 names. (cherry picked from commit 3cc60ae)
* feat(net): en0 on a virtio socket stream to the Scion app (virtio_net_vsock=PORT) * docs(avf): avf.properties says how Network reaches the guest now (cherry picked from commit a621b3d) Carried: docs/boot-args.md kept as main had it (it conflicted: main's catalogue had moved on); the catalogues are made again from the source in a later commit.
Send missing end-of-stream markers after stopping audio so camera switches no longer hit the graph timeout. (cherry picked from commit 8da59a8)
Use VC-only interleave for the S5K3M3 image and PDAF channels so the receiver writes real frames. Refresh telephoto availability after probe or stream failure. (cherry picked from commit a620a86)
Serialize audio delivery with output shutdown and discard late samples before they reach a freed consumer. Keep camera switching responsive. (cherry picked from commit 7e7dd4e)
Discard queued format notifications from stopped audio sources and ignore duplicate end markers under the output lock. Both can arrive after camera switching has released the old graph. (cherry picked from commit 246263b)
…7 November Their commits are carried in this branch with their authorship; NOTICE says which files they change and under what licence, the README's Contributors what they did.
docs/boot-args.md was kept as main had it when deLiseLINO's commit was carried; made again from the source here, with common_defconfig's help line.
exynos_camera_star2.c +1, camera_device.c +1, inject_media.c +100 (dwaris's camera fixes), eagl.c +46 (deLiseLINO's GLSL ES fix). Carried as authored; splitting them is left for a later pass rather than rewriting contributors' patches on the way in.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-picked with -x, original authorship kept. deLiseLINO: avfboot FP/SIMD before XNU jump; eagl drops GLSL ES 1.00 extensions core in 3.00 (also touches the S9 Mesa path); en0 over virtio vsock (virtio_net_vsock=PORT, default 0, inert without the device). dwaris: 4 camera fixes from bringup-star2lte (switch delay, star2lte telephoto VC interleave, late/stale audio). Plus NOTICE/README credits and regenerated catalogues. boot-args.py --check and docs-gen.py --check pass locally. Not yet run on an S9; merging on green CI per owner.